package com.bestsoft.flow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;

/**
 * 用户和供应商关联对象 flow_user_supply
 * 
 * @author wj
 * @date 2023-09-04
 */
public class FlowUserSupply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplycode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyname;



    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setSupplycode(String supplycode)
    {
        this.supplycode = supplycode;
    }

    public String getSupplycode()
    {
        return supplycode;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }

    public String getSupplyname() {
        return supplyname;
    }

    public void setSupplyname(String supplyname) {
        this.supplyname = supplyname;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("supplycode", getSupplycode())
            .append("supplyname", getSupplyname())
            .toString();
    }
}
